<meta>
	<!-- arc_'s Freeroam script                                                  -->

	<!-- You are allowed to modify this resource or add functionality to it.     -->
	<!-- You may use the modified resource in your server and redistribute it.   -->
	<!-- However, the original credits and this license must always stay intact. -->
	<!-- Also, give your modified resource a different name, like "<yournick>'s  -->
	<!-- extended freeroam", to avoid confusion for users.                       -->

	<oop>true</oop>
	<info name="Freeroam GUI" author="arc_" version="1.5.7" />
	<min_mta_version client="1.5.6-9.16362"></min_mta_version>

	<script src="util_server.lua" type="server" />
	<script src="fr_server.lua" type="server" />

	<script src="util.lua" type="client" />
	<script src="gui.lua" type="client" />
	<script src="fr_client.lua" type="client" />

	<export function="appendControl" type="client" />

	<file src="img/localplayerblip.png" />
	<file src="img/map.png" />
	<file src="img/playerblip.png" />

	<config src="data/animations.xml" type="client" />
	<config src="data/interiors.xml" type="client" />
	<config src="data/skins.xml" type="client" />
	<config src="data/stats.xml" type="client" />
	<config src="data/vehicles.xml" type="client" />
	<config src="data/weapons.xml" type="client" />
	<config src="data/weather.xml" type="client" />

	<config src="help.xml" type="client" />

	<script src="colorpicker/colorpicker.lua" type="client" />
	<file src="colorpicker/palette.png" />
	<file src="colorpicker/alpha.png" />

	<settings>
		<!-- Set any of the "true" options to "false" to disable that functionality.                   -->
		<!-- If you modify this file you need to /refresh your server for the changes to take effect   -->
		<!-- (this will restart freeroam and therefore delete all vehicles that players created).      -->
		<!-- Use the runcode resource and the set() function to change a setting while freeroam        -->
		<!-- is running without having to refresh.                                                     -->


		<setting name="*spawnmaponstart" value="true" />
		<setting name="*spawnmapondeath" value="false" />
		<setting name="*welcometextonstart" value="true"
					friendlyname="Welcome text on start"
					accept="true,false"
					group="Misc"/>
		<setting name="*removeHex" value="false"
					friendlyname="Remove HEX Codes"
					accept="true,false"
					group="Misc"
					desc="Setting this to true will remove all HEX codes from players' nick when displayed."
					/>
		<setting name="*alpha" value="true" />
		<setting name="*anim" value="true" />
		<setting name="*clothes" value="true" />
		<setting name="*createvehicle" value="true" />
		<setting name="*gamespeed/enabled" value="true" />
		<setting name="*gamespeed/min" value="[0.2]" />
		<setting name="*gamespeed/max" value="[3.0]" />
		<setting name="*gravity/enabled" value="true" />
		<setting name="*gravity/min" value="[0]" />
		<setting name="*gravity/max" value="[0.1]" />
		<setting name="*jetpack" value="true" />
		<setting name="*kill" value="true" />
		<setting name="*lights" value="true" />
		<setting name="*paintjob" value="true" />
		<setting name="*hidecolortext" value="true" />            <!-- Hide player colorcode *text* in F1 warp menu & map? -->
		<setting name="*repair" value="true" />
		<setting name="*setskin" value="true" />
		<setting name="*setstyle" value="true" />
		<setting name="*stats" value="true" />
		<setting name="*upgrades" value="true" />
		<setting name="*warp" value="true" />
		<setting name="*weapons/enabled" value="true" />          <!-- Can players give themselves weapons? -->
		<setting name="*weapons/vehiclesenabled" value="true" />  <!-- Can players fire vehicle weapons? -->
		<setting name="*weapons/disallowed" value="[[38]]" />     <!-- Comma-separated list of specific weapon ID's that players are not allowed to give to themselves -->
		<setting name="*weapons/kniferestrictions" value="true" />     <!-- Stealth kills are restricted when warping and changing position for 5 seconds -->
		<setting name="*vehicles/maxidletime" value="[300000]" />  <!-- Time in ms before a vehicle without passengers gets destroyed. Any value below 0 will disable this -->
		<setting name="*vehicles/idleexplode" value="false" />     <!-- If set to false, vehicles simply disappear when they time out instead of exploding -->
		<setting name="*vehicles/maxperplayer" value="[2]" />     <!-- Maximum number of vehicles a player can have at the same time -->
		<setting name="*vehicles/disallowed" value="[[432]]" />   <!-- Comma-separated list of vehicles that players may not create -->

		<!--
			Comma-separated list of vehicles that players may not teleport with.
			Defaults: Hunter, Hydra, Rustler, Seasparrow, RC Baron, Rhino
		-->
		<setting name="*vehicles/disallowed_warp" value="[[425, 520, 476, 447, 464, 432]]" />

		<setting name="*chat/mainChatDelay" value="1000" />   <!-- Miliseconds between each message a player can send through main chat -->
		<setting name="*chat/blockRepeatMessages" value="true" />   <!-- Prevent a player from saying the same thing twice in a row to spam -->
		<setting name="*gui/antiram" value="true" /> <!-- Allow player to use vehicle ghostmode (anti-ram) from F1? -->
		<setting name="*gui/disablewarp" value="true" /> <!-- Allow player to prevent others warping to them from F1? -->
		<setting name="*gui/disableknife" value="true" /> <!-- Allow player to prevent themselves from getting knifekilled and vice versa (instakilled from behind) from F1? -->
		<setting name="@command_spam_protection" value="true"
					friendlyname="Command Spam Protection"
					accept="true,false"
					group="Command Spam Protection"
					desc="This settings enables/disables protection against command spam that can form a type of DoS-attack capable of lagging or crashing the server"
					/>
		<setting name="@command_exception_commands" value="[ [ 'sp', 'setpos', 'repair', 'rp', 'anim', 'speed', 'jp', 'addupgrade', 'au' ] ]"
					friendlyname="Exception commands"
					group="Command Spam Protection"
					desc="Exception commands (to not filter with antispam detection)"
					/>
		<setting name="@tries_required_to_trigger" value="[7]"
					friendlyname="Tries to trigger"
					accept="positive number"
					group="Command Spam Protection"
					desc="How many tries under 2 seconds will trigger the spam protection?"
					/>
		<setting name="@tries_required_to_trigger_low_priority" value="[10]"
					friendlyname="Tries to trigger - low priority"
					accept="positive number"
					group="Command Spam Protection"
					desc="How many tries under 2 seconds will trigger the spam protection for low priority commands/actions, such as giving ammo"
					/>
		<setting name="@command_spam_ban_duration" value="[10000]"
					friendlyname="Suspend Duration"
					accept="positive number"
					group="Command Spam Protection"
					desc="How many milliseconds will a global command ban last? (ignoring all calls from a spamming client)"
					/>
	</settings>
</meta>
